package wu.dao;

import org.springframework.stereotype.Component;
import wu.mapper.UserNiuMapper;
import wu.pojo.User_niu;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
@Component
public class UserSqlDao {
    public static UserNiuMapper userNiuMapper;
    public static void insertUserNiuList(String tableName, List<User_niu> userNiuList) {
//        Map<String, Object> map = new HashMap<>();
//        map.put("tableName", tableName);
//        map.put("userNiuList", userNiuList);
        userNiuMapper.insertUserNiuList(tableName, userNiuList);
    }
}
